public class Date
{
	private int	year;
	private int	month;
	private int	day;
	public Date(int year, int month, int day)
	{
		this.year=year;
		this.month=month;
		this.day=day;
	}

	public int getyear()
	{
		return year;
	}
	public void setyear(int year)
	{
		this.year=year;
	}

	public int getmonth()
	{
		return month;
	}
	public void setmonth(int month)
	{
		this.month=month;
	}

	public int getday(int day)
	{
		return day;
	}
	public void setday( int day)
	{
		this.day=day;
	}
public String toString(){
return year +"-"+month+"-"+day;
}
}